// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsRegionListResponse.h"

namespace aliyun { namespace Ons {

OnsRegionListResponse::OnsRegionListResponse() {
}

int64 OnsRegionListResponse::RegionDo::GetId(void) const {
  return Id_;
}

const string& OnsRegionListResponse::RegionDo::GetRegionId(void) const {
  return RegionId_;
}

const string& OnsRegionListResponse::RegionDo::GetRegionName(void) const {
  return RegionName_;
}

int OnsRegionListResponse::RegionDo::GetChannelId(void) const {
  return ChannelId_;
}

const string& OnsRegionListResponse::RegionDo::GetChannelName(void) const {
  return ChannelName_;
}

const string& OnsRegionListResponse::RegionDo::GetOwner(void) const {
  return Owner_;
}

const string& OnsRegionListResponse::RegionDo::GetCluster(void) const {
  return Cluster_;
}

int OnsRegionListResponse::RegionDo::GetStatus(void) const {
  return Status_;
}

int OnsRegionListResponse::RegionDo::GetIsShare(void) const {
  return IsShare_;
}

int64 OnsRegionListResponse::RegionDo::GetCreateTime(void) const {
  return CreateTime_;
}

int64 OnsRegionListResponse::RegionDo::GetUpdateTime(void) const {
  return UpdateTime_;
}

const std::vector<OnsRegionListResponse::RegionDo>& OnsRegionListResponse::GetData(void) const {
  return Data_;
}

const string& OnsRegionListResponse::GetHelpUrl(void) const {
  return HelpUrl_;
}

const char* OnsRegionListResponse::BaseKey(void) {
  return "OnsRegionListResponse";
}

void OnsRegionListResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "OnsRegionListResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerInt64(Data_[i1].Id_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].Id");
      UnmarshallerString(Data_[i1].RegionId_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(Data_[i1].RegionName_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].RegionName");
      UnmarshallerInt(Data_[i1].ChannelId_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].ChannelId");
      UnmarshallerString(Data_[i1].ChannelName_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].ChannelName");
      UnmarshallerString(Data_[i1].Owner_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].Owner");
      UnmarshallerString(Data_[i1].Cluster_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].Cluster");
      UnmarshallerInt(Data_[i1].Status_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerInt(Data_[i1].IsShare_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].IsShare");
      UnmarshallerInt64(Data_[i1].CreateTime_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].CreateTime");
      UnmarshallerInt64(Data_[i1].UpdateTime_, response_map, "OnsRegionListResponse.Data["+string_ValueOfInt(i1)+"].UpdateTime");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

  UnmarshallerString(HelpUrl_, response_map, "OnsRegionListResponse.HelpUrl");
}


} } // namespace aliyun { namespace Ons {

// end of file 
